<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/jquery-3.4.1.js"></script>
</head>
<body>

</body>
<script>

    let objArr = [
        {
            id: 1,
            name: "s1",
            age: 11
        },
        {
            id: 2,
            name: "s2",
            age: 21
        },
        {
            id: 3,
            name: "s3",
            age: 31
        }
    ];

    $(() => {
        test111();
    });

    function test111() {
        $.map(objArr, (value, index) => {
            console.log("jquery-map-索引: " + index + ", 对应的值: " + value);
        });
    }


</script>
</html>